<!DOCTYPE html>

<html lang="en">

<title>gpu</title>

<script type="text/javascript" src="./gpu_sample.js"></script>
<script src="./vconsole.min.js"></script>

<script>
  async function init() {
    let app = new WaApp();
	  window.app = app;
    app.init().then((result) => {
      app.main();

      let stepFrame = function () {
        app.StepFrame();
        window.requestAnimationFrame(stepFrame);
      }
      window.requestAnimationFrame(stepFrame);
      //var vConsole = new window.VConsole();
    })
  }
  
  init()

</script>

<body>
  <h2>凹语言WebGPU示例--RenderBundle</h2>
  <h4>Repo: <a href="https://gitee.com/wa-lang/webgpu">https://gitee.com/wa-lang/webgpu</a></h4>
  <canvas id="gpuCanvas" width="512" height="512"></canvas>
</body>

</html>